﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicsMarket.Service.Models;
using System.ServiceModel;
namespace ElectronicsMarket.Service.IService
{
    [ServiceContract]
    interface IReceipt
    {
        [OperationContract]
        void InsertReceipt(RECEIPT receipt);

        [OperationContract]
        void UpdateReceipt(RECEIPT receipt);
        [OperationContract]
        long getLastPreceiptId();

    }
}
